package cn.stronglink.asset.module.basicdata.assetBrand.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import cn.stronglink.asset.model.AssetBrand;

public interface AssetBrandMapper {
	
	public List<AssetBrand> queryList(Pagination page,@Param("name")String name);
	
	public void removeAssetBrand(@Param("id")Long id);

	public void insertAssetBrand(AssetBrand assetType);

	public void updateAssetBrand(AssetBrand assetType);

	public List<AssetBrand> queryAssetBrandList();

	public Long getBrandIdByName(@Param("brandName") String brandName);

	public int getIsUsedBrand(@Param("id") Long id);

	public AssetBrand qryById(@Param("id") Long brand_id);

}
